package com.woniuxy.microgoldservice.service;

import com.woniuxy.bean.ResultBean;
import com.woniuxy.microgoldservice.bean.GoldOrderDTO;
import com.woniuxy.microgoldservice.bean.GoldPurchase;
import io.swagger.models.auth.In;

import java.math.BigDecimal;

/**
 * @author hongbin
 * @date 2021-04-13 20:03
 * Description：黄金购买信息
 */

public interface IGoldPurchaseService {
    ResultBean getPurchase(String userId);

    ResultBean buyGold(GoldOrderDTO goldOrderDTO);

    ResultBean redemptionGold(GoldOrderDTO goldOrderDTO);

    ResultBean getAsset(String userName);

    ResultBean getHoldGrammage(String userName);
}
